import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router/index.js";
import store from "@/store/index.js";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// 样式文件
import './style/style.js'
// 权限文件
import '@/permission.js'

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
app.use(store)
app.mount('#app')